kunmap_atomic() must zap the PTE to avoid dangling references
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Wed, 28 Jun 2006 17:17:41 +0000 (18:17 +0100)
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Wed, 28 Jun 2006 17:17:41 +0000 (18:17 +0100)
commitb5487780aca6aedfb01484ee4eb9b2637e84cb4e
treee5e06cd348881ae8622c119e3fec2bf8594e5e42
parentd4cd47ef704ad7ebdf5122207ae1bc1103d67b8b
kunmap_atomic() must zap the PTE to avoid dangling references
when attempting to free memory back to Xen. We can implement
something more efficient in future.

Also add debug print message if guest tries to free 'in use'
memory. We'll make it a real guest-visible error in future.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/i386/mm/highmem-xen.c
xen/common/memory.c